Closed Bug 763496 Opened 13 years ago Closed 13 years ago

Using nsIPrincipal::Subsumes instead of nsIPrincipal::Equals in nsDocShell

Categories

(Core :: DOM: Navigation, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla16

People

(Reporter: gkrizsanits, Unassigned)

Details

Attachments

(1 file)

After inventing nsExpandedPrincipal in bug 734891 it can cause some issues with it that at various places of the platform there is Equals used for security checked where conceptually Subsumes should be. One of it is in nsDocShell the bug was reported here: https://bugzilla.mozilla.org/show_bug.cgi?id=734891#c86
Which actual callsite in docshell is this?
Component: XPConnect → Document Navigation
QA Contact: xpconnect → docshell
(In reply to Boris Zbarsky (:bz) from comment #1) > Which actual callsite in docshell is this? http://mxr.mozilla.org/mozilla-central/source/docshell/base/nsDocShell.cpp#7932 And thanks for putting the bug into the right place, I was wondering where to file it.
Ah, yes. That should totally be Subsumes.
Comment on attachment 632149 [details] [diff] [review] Using nsIPrincipal::Subsumes instead of nsIPrincipal::Equals in nsDocShell To clarify, I'm not a peer here.
Attachment #632149 - Flags: review?(bobbyholley+bmo) → review?(bzbarsky)
Comment on attachment 632149 [details] [diff] [review] Using nsIPrincipal::Subsumes instead of nsIPrincipal::Equals in nsDocShell r=me
Attachment #632149 - Flags: review?(bzbarsky) → review+
Keywords: checkin-needed
Flags: in-testsuite-
Keywords: checkin-needed
Target Milestone: --- → mozilla16
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: